package com.lee.service;

import sun.rmi.runtime.Log;

public class Main {

    public static void main(String[] args) {

    }
    public static int[] printNumbers(int n) {
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < n; i++) {
            sb.append("9");
        }
        int i = 1;
        long size = Long.parseLong(sb.toString());
        int[] result = new int[ (int)size];
        while (i <= size) {
            result[i - 1] = i;
            i++;
        }
        return result;
    }
}
